Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix v0.1.2 #78

Merged
merged 2 commits into from
Mar 26, 2024
Merged

Hotfix v0.1.2 #78

merged 2 commits into from
Mar 26, 2024

Conversation

andrrsin
Copy link
Contributor

Fixed bugs

#68

The problem was Game.jsx wasn't checking whether the user was or not connected. It was fixed by using:

useEffect(()=>{
   if (!isAuthenticated()) {
            navigate("/login");
    }
    }, [isAuthenticated, navigate]);

#69

The url of mongo userdb has been changed to:

const mongoUri = process.env.MONGODB_URI || 'mongodb://localhost:27017/wiq-en1a-users';

@andrrsin andrrsin added the Bug 🐛 Something isn't working label Mar 26, 2024
@andrrsin andrrsin requested a review from adriiglz March 26, 2024 10:44
This was linked to issues Mar 26, 2024
@adriiglz
Copy link
Contributor

thanks andrés, looks good, I will close these issues now

@adriiglz adriiglz merged commit 6441f8b into develop Mar 26, 2024
1 check failed
@andrrsin andrrsin deleted the Hotfix-v0.1.2 branch March 26, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problems with database Entering Main Window after Creating a User
2 participants